package com.ndp.fb.model.fbagent.param.customaudience;

import com.ndp.fb.annotation.FBParam;
import com.ndp.fb.model.fbagent.param.FacebookParam;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * Created by 15129 on 2015/11/11.
 */
@Setter
@Getter
@NoArgsConstructor
public class CustomAudienceParam extends FacebookParam {

    @FBParam("id")
    private Long id;

    @FBParam("name")
    private String name;

    @FBParam("description")
    private String description;

    @FBParam("creation_params")
    private String[] creationParams;

    @FBParam("subtype")
    private String subtype;                   //自定义受众类型，由原始数据源导出的

    @FBParam("lookalike_spec")
    private String lookalikeSpec;             //json string 相似受众的详述

    @FBParam("retention_days")
    private Long retentionDays;               //用户在这个群的保持天数 默认14  1~180之间

    @FBParam("pixel_id")
    private Long pixelId;                     //此自定义手中关联的像素 id

    @FBParam("prefill")
    private Boolean prefill;                  //是否包括网站流量记录前的受众创造物。

    @FBParam("inclusions")
    private List<Object> inclusions;          //给目标的一堆事件

    @FBParam("exclusions")
    private List<Object> exclusions;          //此自定义手中关联的像素 id

    @FBParam("origin_audience_id")
    private Long originAudienceId;            //原自定义受众id 这个的最小size100


}
